package com.shushan.pages.newtype;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
import android.widget.TextView;

import com.shushan.base.NavigationLoseActivity;
import com.shushan.shushanbao.R;

/**
 * @ClassName: ReadReciteExerciseActivity
 * @Desciption: //朗读背诵练习入口页面
 * @author: zhangshihao
 * @date: 2018-06-22
 */
public class ReadReciteExerciseActivity extends NavigationLoseActivity implements View.OnClickListener{

    private ImageView ivToyPic;
    private TextView tvToyName,tvCompleteCondition;
    private TextView tvProgressChinese;
    private LinearLayout llChineseSetProgress;
    private LinearLayout llPreLessonChinese,llNextLessonChinese;
    private LinearLayout llChineseStartRead,llChineseStartRecite;
    private ProgressBar chineseDownloadProgressBar;
    private TextView tvProgressEnglish;
    private LinearLayout llEnglishSetProgress;
    private LinearLayout llPreLessonEnglish,llNextLessonEnglish;
    private LinearLayout llEnglishStartRead,llEnglishStartRecite;
    private ProgressBar EnglishDownloadProgressBar;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_read_recite_exercise);

        setTitle("朗读背诵");

        initView();
    }

    private void initView(){
        ivToyPic = findViewById(R.id.iv_toy_pic);
        tvToyName = findViewById(R.id.tv_toy_name);
        tvCompleteCondition = findViewById(R.id.tv_complete_condition);
        tvProgressChinese = findViewById(R.id.tv_progress_now_chinese);
        llChineseSetProgress = findViewById(R.id.ll_set_progress_chinese);
        llChineseSetProgress.setOnClickListener(this);
        llPreLessonChinese = findViewById(R.id.ll_pre_lesson_chinese);
        llPreLessonChinese.setOnClickListener(this);
        llNextLessonChinese = findViewById(R.id.ll_next_lesson_chinese);
        llNextLessonChinese.setOnClickListener(this);
        llChineseStartRead = findViewById(R.id.ll_chinese_start_read);
        llChineseStartRead.setOnClickListener(this);
        llChineseStartRecite = findViewById(R.id.ll_chinese_start_recite);
        llChineseStartRecite.setOnClickListener(this);
        chineseDownloadProgressBar = findViewById(R.id.chinese_download_progress_bar);
        chineseDownloadProgressBar.setProgress(100);
        tvProgressEnglish = findViewById(R.id.tv_progress_now_english);
        llEnglishSetProgress = findViewById(R.id.ll_set_progress_english);
        llEnglishSetProgress.setOnClickListener(this);
        llPreLessonEnglish = findViewById(R.id.ll_pre_lesson_english);
        llPreLessonEnglish.setOnClickListener(this);
        llNextLessonEnglish = findViewById(R.id.ll_next_lesson_english);
        llNextLessonEnglish.setOnClickListener(this);
        llEnglishStartRead = findViewById(R.id.ll_english_start_read);
        llEnglishStartRead.setOnClickListener(this);
        llEnglishStartRecite = findViewById(R.id.ll_english_start_recite);
        llEnglishStartRecite.setOnClickListener(this);
        EnglishDownloadProgressBar = findViewById(R.id.english_download_progress_bar);
        EnglishDownloadProgressBar.setProgress(100);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.ll_set_progress_chinese://设置语文进度

                break;
            case R.id.ll_pre_lesson_chinese://语文上一课

                break;
            case R.id.ll_next_lesson_chinese://语文下一课

                break;
            case R.id.ll_chinese_start_read://语文开始朗读

                break;
            case R.id.ll_chinese_start_recite://语文开始背诵

                break;
            case R.id.ll_set_progress_english://英语设置进度

                break;
            case R.id.ll_pre_lesson_english://英语上一课

                break;
            case R.id.ll_next_lesson_english://英语下一课

                break;
            case R.id.ll_english_start_read://英语开始朗读

                break;
            case R.id.ll_english_start_recite://英语开始背诵

                break;
        }

    }
}
